<!--# layout("/common/layout.html",{"jsBase":"/js/cms/homeContent/"}){ -->

<style type="text/css">
    .col-width-style {
        width: 620px;
    }

    .input-style {
        width: 510px;
    }

    .layui-input {
        border: 0px;
    }

    .layui-form-label {
        background: transparent;
        border: 0px;
    }

    .layui-elem-field {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .layui-form-label {
        background: transparent !important;
        border: 0px !important;
    }

    .layui-input {
        color: #7b7b7b;
    }
</style>

<form class="layui-form layui-form-pane" id="updateForm">

    <fieldset class="layui-elem-field">
        <legend>图片信息</legend>
        <div class="layui-field-box">
            <div class="layui-container">
                <div class="layui-row">
                    <div class="layui-col-md3">
                        <img src="${isNotEmpty(homeContent.pic) ? homeContent.pic}" alt="" width="200px" height="200px" onerror="this.src='${ctxPath}/img/no_pic.jpg'"
                             class="layui-upload-img" onclick="Lib.showImg(this,this.src);">
                        <br><label>${homeContent.title}</label><br>
                    </div>
                </div>
            </div>
        </div>
    </fieldset>

    <layui:returnButtons id="returnButtons" text="返回"/>

</form>
<!--#} -->
<script>
    layui.use('layer', function () {
        var form = layui.layer;

    });

    $(function(){
        $("#returnButtons-return").click(function(){
            Lib.closeFrame();
        });
    })

</script>
